<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/13
  Time: 10:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <title>ERP系统 - 房屋信息添加</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/css/main.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
    <h3>添加房屋信息</h3>
    <form action="addHouse2" method="post">
        <table class="form-table">
            <tr>
                <td>地区</td>
                <td colspan="3" class="control">
                    <input type="text" name="hArea" placeholder="填写地区">
                </td>
            </tr>
            <tr>
                <td>小区名字</td>
                <td colspan="3" class="control">
                    <input type="text" name="hEstate" placeholder="小区名字">
                </td>
            </tr>
            <tr>
                <td>单元号</td>
                <td colspan="3" class="control">
                    <input type="text" name="hUnitnumber" placeholder="单元号">
                </td>
            </tr>
            <tr>
                <td>楼层</td>
                <td colspan="3" class="control">
                    <input type="text" name="hFloor" placeholder="楼层">
                </td>
            </tr>
            <tr>
                <td>房间号</td>
                <td colspan="3" class="control">
                    <input type="text" name="hRoomno" placeholder="房间号">
                </td>
            </tr>
            <tr>
                <td>面积（平米）</td>
                <td colspan="3" class="control">
                    <input type="text" name="hAcreage" placeholder="面积">
                </td>
            </tr>
            <tr>
                <td>朝向</td>
                <td colspan="3" class="control">
                    <input type="text" name="hDirection" placeholder="朝向">
                </td>
            </tr>
            <tr>
                <td>装修</td>
                <td colspan="3" class="control">
                    <select name="hFitment" >
                        <option value="精装房">精装房</option>
                        <option value="简装" selected>简装</option>

                    </select>
                </td>
            </tr>
            <tr>
                <td>是否双气</td>
                <td colspan="3" class="control">
                    <select name="hIsdoubleair" >
                        <option value="true">是</option>
                        <option value="false" selected>否</option>

                    </select>
                </td>
            </tr>
            <td>限住人数(请输入有效数字)</td>
            <td colspan="3" class="control">
                <input type="text"  name="hLimit" placeholder="限住人数">
            </td>
            </tr>
            <tr>
                <td>配套设施</td>
                <td colspan="3" class="control">
                    <input type="text" name="hFacility" placeholder="配套设施">
                </td>
            </tr>
            <tr>
                <td>出租价格（元/月）</td>
                <td colspan="3" class="control">
                    <input type="text" name="hPrice" placeholder="出租价格" >
                </td>
                </td>
            </tr>
            <tr>
                <td>出租状态</td>
                <td colspan="3" class="control">
                    <select name="hStatus" >
                        <option value="1">已出租</option>
                        <option value="0" selected>禁止出租</option>
                        <option value="2">未出租</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>完整地址信息</td>
                <td colspan="3" class="control">
                    <input type="text" name="hAddress" placeholder="完整地址信息">
                </td>
            </tr>
            <tr>
                <td>房屋图片</td>
                <td colspan="3" class="control">
                    <p><img src="" width="300px" height="200px"></p>
                    <input type="file" name="hImg">
                </td>
            </tr>
            <tr>
                <td>添加时间</td>
                <td colspan="3" class="control">
                    <input type="date"  name="addTime" placeholder="添加时间" >
                </td>
            </tr>
            <tr>
                <td>更新时间</td>
                <td colspan="3" class="control">
                    <input type="date"  name="updateTime"  >
                </td>
            </tr>
            <tr>
                <td>备注说明</td>
                <td colspan="3" class="control">
                    <textarea class="p100" name="hcomment" placeholder="备注说明信息"></textarea>
                </td>
            </tr>
        </table>
        <div class="buttons">
            <input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>
</body>

</html>
